<#macro logoutForm>
	<#assign currentUser = rc.getWebApplicationContext().getBean("userService").getCurrentUser()/>
	<#if currentUser??>
		<div>
			<span class="fullname">${currentUser.displayName}</span> |
			<a href="${rc.getContextUrl('/logout')}" >Logout</a>
		</div>
	</#if>
</#macro>